<template>
	<view class="content mainpadding">
		<view class="flexcenter" v-if="!list.data.length">
			<view class="placeholderimage" style="margin-top: 100rpx;" ></view>
		</view>
		<view class="mainpadding ffffff border2 margin_bottom3" v-for="(item,index) in list.data"  :key="index">
			<u-collapse>
				<u-collapse-item :title="item.name" name="Docs guide">
					<!-- <text class="u-collapse-content" @click="goHelpInfo">怎么進行支付？</text> -->
					<u-parse :content="item.content"></u-parse>
				</u-collapse-item>
			</u-collapse>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:{
					data:[]
				}
			}
		},
		onLoad() {
			this.init()
		},
		methods: {
			init() { //獲取提交外送員認證信息
				let _this = this
				this.http.request('/api/member/help', 'GET', {}).then(res => {
					this.list.data = res.data
				})
			},
			goHelpInfo(){
				uni.navigateTo({
					url:"./helpInfo"
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	::v-deep.u-line {
		display: none;
	}
</style>